import Login from "../modules/login/Login"
import Layout from "../modules/layout/index"





const routes = [
    // {
    //     path: "/",
    //     component: Login,
    //     exact:true, // 强匹配
    //     layout: false,
    // },

    // {
    //     path: "/layout",
    //     component: Layout,
    //     redirect: "/layout",
    //     exact: true,
    // },


    {
        path: "/",
        routes: [
            {
              path: '/login',
              component: Login,
            },
            {
              component: Login,
            },
          ],
    },

    {
        path: "/layout",
        component: Layout,
        redirect: "/layout",
        exact: true,
    },
  
       

  

]


export default routes